package com.lovo.project.enums;

import lombok.Getter;

/**
 * @author 955
 * @title 宠主管理枚举类
 * @date 2020/11/3 20:44
 */
@Getter
public enum PetOwnEnum {
    /**未找到宠主异常*/
    PET_OWN_DELETEEXP_ENUM(3501,"删除宠主异常"),
    PET_OWN_INSERTEXP_ENUM(2502,"添加宠主异常"),
    PET_OWN_UPDATEEXP_ENUM(4503,"修改宠主异常"),
    PET_OWN_FINDEXP_ENUM(5504,"查询宠主异常");

    /**枚举状态码*/
    private Integer code;
    /**状态信息*/
    private String msg;

    PetOwnEnum(Integer code,String msg){
        this.code = code;
        this.msg = msg;
    }
}
